-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add ee licensed replay transformer #18874
Conversation
Size Change: 0 B Total Size: 1.83 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
return import('../../../ee/frontend/exports') | ||
.then((ee) => { | ||
return ee.default() | ||
}) | ||
.catch(() => { | ||
return { | ||
enabled: false, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the really key change for the ee bundler @benjackwhite
(although even this is reversible)
I couldn't find an esbuild option that looked like it would include this code even if unreferenced. I guess we could mark it as external and then bundle it separately, but that felt less intention revealing than this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments but it's probably worth someone else also taking a look given everything in this PR I have little context on
frontend/src/scenes/session-recordings/player/utils/segmenter.test.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: David Newell <[email protected]>
Co-authored-by: David Newell <[email protected]>
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks solid!
return import('../../../ee/frontend/exports') | ||
.then((ee) => { | ||
return ee.default() | ||
}) | ||
.catch(() => { | ||
return { | ||
enabled: false, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me 👍
first pass through using the EE licensed replay transformer in playback